package com.kingsoft.miot.bridge.pojo.hotel;

import java.util.Date;

import org.hibernate.validator.constraints.NotBlank;
import org.hibernate.validator.constraints.NotEmpty;

/**
 * 房间信息
 * 
 * @author HUJIANQING
 *
 */
public class RoomInfo {

	private long room_info_id;
	// 房间名称
	@NotBlank
	private String room_info_name;
	// 房间楼层
	@NotEmpty
	private int room_info_floors_total_num;
	// 房间设备总数
	private int room_info_devices_total_num;
	// 房间设备在线总数
	private int room_info_devices_online_num;
	// 房间状态 （是否空房）
	private short room_info_status;
	// 房间控制次数
	private int room_info_control_times;
	// hotel id
	@NotEmpty
	private int hotel_info_id;
	// control unit id
	@NotEmpty
	private long auth_unit_id;
	// 创建时间
	private Date room_info_create;
	// 最后更新时间
	private Date room_info_update;

	public Date getRoom_info_create() {
		return room_info_create;
	}

	public void setRoom_info_create(Date room_info_create) {
		this.room_info_create = room_info_create;
	}

	public Date getRoom_info_update() {
		return room_info_update;
	}

	public void setRoom_info_update(Date room_info_update) {
		this.room_info_update = room_info_update;
	}

	public long getRoom_info_id() {
		return room_info_id;
	}

	public void setRoom_info_id(long room_info_id) {
		this.room_info_id = room_info_id;
	}

	public String getRoom_info_name() {
		return room_info_name;
	}

	public void setRoom_info_name(String room_info_name) {
		this.room_info_name = room_info_name;
	}

	public int getRoom_info_floors_total_num() {
		return room_info_floors_total_num;
	}

	public void setRoom_info_floors_total_num(int room_info_floors_total_num) {
		this.room_info_floors_total_num = room_info_floors_total_num;
	}

	public int getRoom_info_devices_total_num() {
		return room_info_devices_total_num;
	}

	public void setRoom_info_devices_total_num(int room_info_devices_total_num) {
		this.room_info_devices_total_num = room_info_devices_total_num;
	}

	public int getRoom_info_devices_online_num() {
		return room_info_devices_online_num;
	}

	public void setRoom_info_devices_online_num(int room_info_devices_online_num) {
		this.room_info_devices_online_num = room_info_devices_online_num;
	}

	public short getRoom_info_status() {
		return room_info_status;
	}

	public void setRoom_info_status(short room_info_status) {
		this.room_info_status = room_info_status;
	}

	public int getRoom_info_control_times() {
		return room_info_control_times;
	}

	public void setRoom_info_control_times(int room_info_control_times) {
		this.room_info_control_times = room_info_control_times;
	}

	public int getHotel_info_id() {
		return hotel_info_id;
	}

	public void setHotel_info_id(int hotel_info_id) {
		this.hotel_info_id = hotel_info_id;
	}

	public long getAuth_unit_id() {
		return auth_unit_id;
	}

	public void setAuth_unit_id(long auth_unit_id) {
		this.auth_unit_id = auth_unit_id;
	}

}
